import 'package:flutter/material.dart';

// Light Theme Color

const int lightPrimaryValue = 0xFF00AA00;

const MaterialColor light = MaterialColor(lightPrimaryValue, <int, Color>{
  50: Color(0xFF00AA00),
  100: Color(0xFF00AB00),
  200: Color(0xFF00AB00),
  300: Color(0xFF00AB00),
  400: Color(0xFF00AB00),
  500: Color(lightPrimaryValue),
  600: Color(0xFF00AB00),
  700: Color(0xFF00AB00),
  800: Color(0xFF00AB00),
  900: Color(0xFF00FF00),
});
//const MaterialColor light = MaterialColor(lightPrimaryValue, <int, Color>{
//  50: Color(0xFFE9F2FD),
//  100: Color(0xFFC7E0F9),
//  200: Color(0xFFA2CBF5),
//  300: Color(0xFF7DB6F1),
//  400: Color(0xFF61A6EE),
//  500: Color(lightPrimaryValue),
//  600: Color(0xFF3E8EE9),
//  700: Color(0xFF3683E5),
//  800: Color(0xFF2E79E2),
//  900: Color(0xFF1F68DD),
//});

const int _darkPrimaryValue = 0xFF111213;
const MaterialColor dark = MaterialColor(_darkPrimaryValue, <int, Color>{
  50: Color(0xFFE2E3E3),
  100: Color(0xFFB8B8B8),
  200: Color(0xFF888989),
  300: Color(0xFF58595A),
  400: Color(0xFF353636),
  500: Color(_darkPrimaryValue),
  600: Color(0xFF0F1011),
  700: Color(0xFF0C0D0E),
  800: Color(0xFF0A0A0B),
  900: Color(0xFF050506),
});

const int _accentValue = 0xFFEA4B63;
// accent
const MaterialColor accent = MaterialColor(_accentValue, <int, Color>{
  50: Color(0xFFFCE9EC),
  100: Color(0xFFF9C9D0),
  200: Color(0xFFF5A5B1),
  300: Color(0xFFF08192),
  400: Color(0xFFED667A),
  500: Color(_accentValue),
  600: Color(0xFFE7445B),
  700: Color(0xFFE43B51),
  800: Color(0xFFE13347),
  900: Color(0xFFDB2335),
});

// 主题

final ThemeData lightThemeData = ThemeData(
  brightness: Brightness.light,
  primarySwatch: light,
  primaryColor: light,
  accentColor: light,
);

final ThemeData darkThemeData = ThemeData(
  brightness: Brightness.dark,
  primarySwatch: dark,
  primaryColor: dark,
  accentColor: accent,
);





